<?php
	$formAction = ( isset($formAction) )? $formAction: '';

?>

<?php
//    echo '<div style="width: 100%;height: 150px;background: url(' .  . 'no-repeat center;></div>';
?>
<div style="width: 100%;height: 200px;background: url('<?php echo url::file('img/logo_biblioteca.png'); ?>') no-repeat center; "></div>
	<form action="<?php echo url::site( $formAction ); ?>" method="post" data-ajax="false">
            
		<div data-role="fieldcontain">
			<label for="txtUsuario">Usuário:</label>
			<input type="text" data-mini="true" name="username" id="txtUsuario" />
		</div>

		<div data-role="fieldcontain">
			<label for="txtSenha">Senha:</label>
			<input type="password" data-mini="true" name="password" id="txtSenha" />
		</div>
		
		<div data-role="fieldcontain" class="ui-grid-a">
			<div class="ui-block-a"><input type="submit" value="Logar" /></div>
			<div class="ui-block-b"><input type="reset" value="Cancelar" /></div>
		</div>
		
	</form>
<?php echo @$msgErro; ?>
